package j03;

import java.util.Scanner;

public class J03_GuGuDan {

	public static void main(String[] args) {
		Scanner sc=null;
		int g=1,u=1;
		sc= new Scanner(System.in);
		
		System.out.println("숫자를 입력하시오.");
		g=sc.nextInt();
		if(g<=9){
			while(u<=9){
			System.out.println(g+" X "+u+" = "+(g*u));
			++u;
			}
		}else{
			System.out.println("잘 못 입력하셨습니다!!");
		}
	}

}
